<h1>Logs by user</h1>

<ul>
  <% for user in @users %>
  <li><%= link_to user.login, user_url(user) %>
      (<%= pluralize user.articles.size, 'article' %>)
  </li>
  <% end %>
</ul>
